package com.hooper.iot.entity;

import com.hooper.iot.util.IdUntil;
import lombok.Data;

import java.util.List;

/**
 * @ Copyright
 * @ Author     ：wangcheng.
 * @ Date       ：Created in 15:28 2022/5/9
 * @ Description：目前对方尚未实现该功能，暂时搁置
 * @ Modified By：
 * @Version: $
 */
@Data
public class MediaInformationDto {
    private String msgId = IdUntil.getMessgeId();
    private Long msgDate = System.currentTimeMillis();
    private String deviceId;
    private String msgType = "SEND_MEDIA_INFORMATION";
    private boolean callBack = true;
    private Body body;

    @Data
    public class Body {
        List<MediaInf> reqMediaListInf;
    }

    @Data
    public class MediaInf {
        private String mediaFileName;
        private String mediaFileID;
        private String mediaFileSize;
        private String mediaLen;
        private String mediaFileFormat;
        private String mediaData;
        private String mediaFileHash;
        private Long startTime;
        private Long endTime;
        private Boolean isDelete;
        private Boolean isPause;

    }
}
